<?php
class Application_Form_Wysiwyg extends Zend_Form
{

    public function init()
    {
        $wysiwyg = new Izwt_Form_Element_Wysiwyg('wysiwyg', array(
                    'label' => 'form.label.wysiwyg',
                    'required' => true,
                    'filters' => array('StringTrim')
                ));

        $sumbit = $this->createElement('submit', 'submit', array(
                    'label' => 'form.label.submit'
                ));

        $this->addElements(array(
            $wysiwyg, $sumbit
        ));
    }

}